//
// Created by deepin on 2020/11/11.
//

#ifndef C___NAMESP_H
#define C___NAMESP_H
namespace pers
{
   struct Person
   {
     std::string fname;
     std::string lname;
   };
   void getPerson(Person &);
   void showPerson(const Person &);
}
namespace debts
{
   using namespace pers;
   struct Debt
   {
     Person name;
     double amount;
   };
   void getDebt (Debt &);
   void showDebt (const Debt &);
   double sumDebts (const Debt ar[] ,int n);
}
#endif //C___NAMESP_H
